package com.lwlean.test.domain;

/**
 * Created by lean on 2017/4/17.
 */
public class Transaction {

    private int id;

    private Integer value;

    private Type type;

    public Transaction(int id, Integer value, Type type) {
        this.id = id;
        this.value = value;
        this.type = type;
    }

    public enum Type {
        A,B,C,D,GEOCERY
    }

    public int getId() {
        return id;
    }

    public Integer getValue() {
        return value;
    }

    public Type getType() {
        return type;
    }
}
